<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>Document</title>
    <link rel="stylesheet/less" type="text/css" href="/assets/less/float.less" />
    <script src="/bower_components/less/dist/less.js" type="text/javascript"></script>
</head>
<body>
<div class="test">
    {{ test|json_encode() }}
    {% for i in test %}
 <p>{{ i.title }}</p>
    <div class="bottom">
        {% for e in i.img %}
            <div class="bottomli">
                <img src="/assets/img/{{ e.image }}">
                <p>123</p>
            </div>
         {% endfor %}
   </div>
    {% endfor %}

</div>
</body>
</html>